
#ifndef STOREDATA_H
#define STOREDATA_H

#include "stdint.h"

#define STOREDATA_FACTOR_NUM        (21) //

typedef struct
{
    int32_t adc;
    float value;
}factor_int32_t;

typedef struct
{
    uint16_t offset;
    float amp_factor[8];
}para_osc_t;

typedef struct
{
    factor_int32_t factor[STOREDATA_FACTOR_NUM];
    int32_t r_vref;
    float r_ref[3];
    para_osc_t osc;
}storedata_t;

extern void storedata_read(void);
#endif
